<?php
include_once "config_db.php";

$database = 'mymap';

if (!mysql_connect($db_host, $db_user, $db_pwd))
die("Can't connect to database");

if (!mysql_select_db($database))
die("Can't select database");

mysql_query("SET NAMES 'utf8'");

function refresh_tab_segment() {
	include_once "get_db.php";
    result = getType_Administrative(3);
    while($data = mysql_fetch_array($result)) {
    	echo "<option value=".$data["id"].">".$data["name"]."</option>";
	}
}

function refresh_tab_locality() {

}

function refresh_tab_node() {

}

function refresh_tab_update() {

}
?>